//
//  CTVChannelSwitchInfoController.h
//  Channltv
//
//  Created by Bruno Keymolen on 27/11/07.
//  Copyright 2007 channl.tv. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "CTVChannel.h"

@interface CTVChannelSwitchInfoController : BRLayerController {
	BRImageControl *m_thisChannelImg;
	BRImageControl *m_prevChannel1Img;
	BRImageControl *m_nextChannel1Img;
	BRImageControl *m_prevChannel2Img;
	BRImageControl *m_nextChannel2Img;
	BRTextControl* m_titlecontrol;
	BRTextControl* m_subTitlecontrol;
	CTVChannel* m_channel;
	NSTimer* m_timer;
	double m_selectTime;
}

- (id) initWithScene: (BRRenderScene *)scene andChannel:(CTVChannel*)channel;
- (void) dealloc;

-(BOOL)brEventAction:(BREvent*)event;
- (void) setFrame: (NSRect) frame;


//Private
-(void)_layout;
-(void)_timerHandler:(NSTimer*)timer;

-(void)_nextChannel:(NSTimer*)timer;
-(void)_prevChannel:(NSTimer*)timer;


@end
